package com.codingfuture.mapper;

import com.codingfuture.entity.CourseStage;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseStageMapper {
    //    @Select("select * from course_stage")
    List<CourseStage> findById(Integer id);

    @Insert("insert into course_stage (name,course_id)" +
            "values (#{name},#{courseId})")
    int insert(CourseStage courseStage);
}
